package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Expire;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface ExpireService {

	public Expire saveExpire(Expire expire);

	public Set<Expire> loadExpires();

	public Set<Expire> loadReferenceExpires(Set<Expire> expires);

	public Set<Expire> loadExpiresByIdSet(Set<Integer> expiresId);

	public Map<String, ?> loadExpireObjectReferencedSet(Expire expire);

	public Map<String, ?> loadExpireClassReferencedSet(Expire expire);

	public void deleteExpire(Expire expire);

	public void deleteExpires(Set<Integer> deleteExpiresId);

	public List<Expire> findAllExpires(Integer startResult, Integer maxRows);

	public Expire findExpireByPrimaryKey(Integer id);

	public Integer countExpires();

	public Integer countExpires(CmiPagination page);

	public Integer countExpiresByName(String queryName);

	public Integer countExpiresByDetachedCriteria(CmiPagination page);

}
